﻿<%@ Page Language="C#" MasterPageFile="~/Home/pers.master" AutoEventWireup="true" CodeFile="pers.aspx.cs" Inherits="Home_pers" Title="Welcome to IT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<%
     string log = Request["id"];
    
 %>
 
 <%
    if(log==""||log=="101")
    {
 %>
 <table width=100%>
    <tr>
        <td style="width: 245px" ></td>
        
        <td background="images/1_80.gif" style="width: 106px">
            <span class="styles32">&nbsp; &nbsp; &nbsp;&nbsp;
            <asp:Label ID="Lb01" runat="server" Text="" ForeColor="#ccffff"></asp:Label>
           </span>
        </td>
        
        <td></td>
    </tr>
 </table><br />
 <table width=100%>
    <tr>
        <td style="width: 63px">        
           
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb02" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="M01" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb03" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="M02" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb04" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="M03" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px; height: 36px;"></td>
        <td style="height: 36px">
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb05" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td style="height: 36px">
           <span class="">
            <asp:Label ID="M04" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb06" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="M05" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb07" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="M06" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb08" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="M07" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
  
 </table><br />
 <table width=100%>
    <tr>
        <td style="width: 245px" ></td>
        
        <td background="images/1_80.gif" style="width: 106px">
            <span class="styles32">&nbsp; &nbsp; &nbsp;&nbsp;
            <asp:Label ID="Lb09" runat="server" Text="" ForeColor="#ccffff"></asp:Label>
           </span>
        </td>
        
        <td></td>
    </tr>
 </table>
 <br />
 <table width=100%>
     <tr>
        <td style="width: 63px">
          
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb10" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="B01" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb11" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="B02" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb12" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="B03" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
     <tr>
     <td style="width: 63px"></td>
        <td>
        <img src="images/img_01.gif" border=0 />
           <span class="">
            <asp:Label ID="Lb13" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
       <td>
           <span class="">
            <asp:Label ID="B04" runat="server" Text=""></asp:Label>
           </span>
            
       </td>
    </tr>
   
     <tr>
         <td style="width: 63px">
         </td>
     </tr>
     <tr>
         <td style="width: 63px">
         </td>
     </tr>
 </table>
 
 <%
        
    }
 %>
 <%if(log=="103"){ %>
 <asp:DataList runat=server ID=jfjs RepeatColumns=2 RepeatDirection="Horizontal">
  
 </asp:DataList>
 
<asp:DataGrid runat =server ID=id_103 AutoGenerateColumns="False" PageSize="5" GridLines="None" BorderStyle=None AllowCustomPaging=true AllowPaging=true>
                                <Columns>
								    <asp:TemplateColumn>
									    
									    
									    <ItemTemplate>
									   <img src=" <%# DataBinder.Eval(Container.DataItem, "baner") %>" border=0 width=900px  height=100px/>
									   <b>Tên sản phẩm</b><br />
									   <b>Giá hiện tại</b><br />
									   <b>Phí vận chuyển</b><br />
									   <b>Số lượng ra giá</b><br />
									   <b>Người bán</b><br />
									   <b>Thời gian còn lại</b><br />
									   <a href="">Ra giá</a>
									    
										</ItemTemplate>
									    
								</asp:TemplateColumn>
								</Columns>
                                    <AlternatingItemStyle BackColor="Tan" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                        Font-Strikeout="False" Font-Underline="False" ForeColor="MediumPurple" />
        </asp:DataGrid>
                                            
 
 
 <%} %>
    
  <%if(log=="105"){ %>
 
<asp:DataGrid runat =server ID=id_105 AutoGenerateColumns="False" PageSize="5" GridLines="None" BorderStyle=None>
                                <Columns>
								    <asp:TemplateColumn>
									    
									    
									    <ItemTemplate>
									   <img src=" <%# DataBinder.Eval(Container.DataItem, "baner") %>" border=0 width=900px  height=100px/>
									   <b>Tên sản phẩm</b><br />
									   <b>Giá hiện tại</b><br />
									   <b>Giá của bạn</b><br />
									   <b>Phí vận chuyển</b><br />
									   <b>Người bán</b><br />
									   <b>Thời gian còn lại</b><br />
									   <a href="">Ra giá</a>
									    
										</ItemTemplate>
									    
								</asp:TemplateColumn>
								</Columns>
                                    <AlternatingItemStyle BackColor="Tan" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                        Font-Strikeout="False" Font-Underline="False" ForeColor="MediumPurple" />
        </asp:DataGrid>
                                            
 
 
 <%} %>
   
  <%if(log=="107"){ %>
 
<asp:DataGrid runat =server ID=id_107 AutoGenerateColumns="False" PageSize="5" GridLines="None" BorderStyle=None>
                                <Columns>
								    <asp:TemplateColumn>
									    
									    
									    <ItemTemplate>
									    <b>Người bán</b><br />
									   <b>Giá khởi điểm</b><br />
									   <b>Giá mua</b><br />
									   <b>Ngày mua</b><br />
									   <b>Tên mặt hàng</b><br />									   
									    
										</ItemTemplate>
									    
								</asp:TemplateColumn>
								</Columns>
                                    <AlternatingItemStyle BackColor="Tan" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                        Font-Strikeout="False" Font-Underline="False" ForeColor="MediumPurple" />
        </asp:DataGrid>
                                            
 
 
 <%} %>
   
  <%if(log=="109"){ %>
 
<asp:DataGrid runat =server ID=id_109 AutoGenerateColumns="False" PageSize="5" GridLines="None" BorderStyle=None>
                                <Columns>
								    <asp:TemplateColumn>
									    
									    
									    <ItemTemplate>
									    <b>Tên sản phẩm</b><br />
									   <b>Giá bán</b><br />
									   <b>Giá cao nhất của bạn</b><br />
									   <b>Số lượng người tham gia</b><br />
									   <b>Ngày kết thúc</b><br />									   
									    
										</ItemTemplate>
									    
								</asp:TemplateColumn>
								</Columns>
                                    <AlternatingItemStyle BackColor="Tan" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                        Font-Strikeout="False" Font-Underline="False" ForeColor="MediumPurple" />
        </asp:DataGrid>
                                            
 
 
 <%} %>
   
  <%if(log=="102"){ %>
 
<asp:DataGrid runat =server ID=id_102 AutoGenerateColumns="False" PageSize="5" GridLines="None" BorderStyle=None>
                                <Columns>
								    <asp:TemplateColumn>								    
									    
									    <ItemTemplate>
									    <img src=" <%# DataBinder.Eval(Container.DataItem, "baner") %>" border=0 width=900px  height=100px/><br />
									    
									   <b>Tên sản phẩm</b><br />
									   <b>Giá cao nhất hiện tại</b><br />									   
									   <b>Số lượng người tham gia</b><br />
									   <b>Người ra giá cao nhất</b><br />									   
									    
										</ItemTemplate>
									    
								</asp:TemplateColumn>
								</Columns>
                                    <AlternatingItemStyle BackColor="Tan" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                        Font-Strikeout="False" Font-Underline="False" ForeColor="MediumPurple" />
        </asp:DataGrid>
                                            
 
 
 <%} %>
  
  <%if(log=="104"){ %>
 
<asp:DataGrid runat =server ID=id_104 AutoGenerateColumns="False" PageSize="5" GridLines="None" BorderStyle=None>
                                <Columns>
								    <asp:TemplateColumn>								    
									    
									    <ItemTemplate>					    
									    
									   <b>Nười mua</b><br />
									   <b>Hình thức bán</b><br />									   
									   <b>Giá bán</b><br />
									   <b>Ngày bán</b><br />									   
									    
										</ItemTemplate>
									    
								</asp:TemplateColumn>
								</Columns>
                                    <AlternatingItemStyle BackColor="Tan" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                        Font-Strikeout="False" Font-Underline="False" ForeColor="MediumPurple" />
        </asp:DataGrid>
                                            
 
 
 <%} %>
  
  <%if(log=="106"){ %>
 
<asp:DataGrid runat =server ID=id_106 AutoGenerateColumns="False" PageSize="5" GridLines="None" BorderStyle=None>
                                <Columns>
								    <asp:TemplateColumn>								    
									    
									    <ItemTemplate>					    
									    <img src=" <%# DataBinder.Eval(Container.DataItem, "baner") %>" border=0 width=900px  height=100px/><br />
									   <b>Tên mặt hàng</b><br />
									   <b>Giá cao nhất</b><br />									   
									   <b>Số lượng người tham gia</b><br />
									   <b>Ngày kết thúc</b><br />									   
									    
										</ItemTemplate>
									    
								</asp:TemplateColumn>
								</Columns>
                                    <AlternatingItemStyle BackColor="Tan" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                        Font-Strikeout="False" Font-Underline="False" ForeColor="MediumPurple" />
        </asp:DataGrid>
                                            
 
 
 <%} %>
 <%
     if (log == "1012")
     {
        
  %>
  <table width=100% cellpadding=0 cellspacing=0>
        <tr>
            
            <td style="width: 189px">
                &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                <asp:Label ID="Label3" runat="server" Text="Cập nhật " CssClass="styles30"></asp:Label>
                 <b class="styles33">==></b><a href="">Tài khoản</a>
            </td>
            <td> </td>
        </tr>
         <tr>
            
            <td>
                
            </td>
            <td>
            <asp:Label ID="error" runat="server" Text="" CssClass="styles30" ForeColor=red></asp:Label>
            <asp:Label ID="tc" runat="server" Text="" CssClass="styles30" ForeColor="#3333ff"></asp:Label>
             </td>
        </tr>
            <tr>
	            <td class="style16" style="width: 40%; height: 22px;">
	            </td>
	            <td class="text" colspan="2" style="height: 22px">
                   
	            </td>
            </tr>
            <tr>
	            <td class="style16" style="width: 33%">
	            <span class="EcataProDetailTitle">Mật khẩu</span></td>
	            <td class="text" colspan="2">
                    <asp:TextBox ID="txtP1" runat="server" style="border: 1px solid #D8E5F6" Width="180px" TextMode="Password"></asp:TextBox>
	            </td>
            </tr>
             <tr>
	            <td class="style16" style="width: 33%">
	                <span class="EcataProDetailTitle">Xác nhận mật khẩu</span>
	            </td>
	            <td class="text" colspan="2">
                    <asp:TextBox ID="txtP2" runat="server" style="border: 1px solid #D8E5F6" Width="180px" TextMode="Password"></asp:TextBox>
	            </td>
            </tr>
            <tr>
                <td></td><td></td>
            </tr>
      <tr>
          <td class="style16" style="width: 189px; height: 30px">
          </td>
          <td class="text" colspan="2">
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
              <asp:Button ID="Btcapnhat" runat="server" Text="Cập nhật" Width="87px" OnClick="Btcapnhat_Click" /></td>
      </tr>
        </table>
									        
  
  <%} %>
  
  <% if (log == "1015")
     {
       %>
   
    <table width=100% cellpadding=0 cellspacing=0>
      <tr>
            
            <td style="width: 261px">
                &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                <asp:Label ID="Label1" runat="server" Text="Cập nhật " CssClass="styles30"></asp:Label>
                 <b class="styles33">>></b><a href="">Thông tin cá nhân</a>
            </td>
            <td> </td>
        </tr>
        <tr>
            
            <td>
                
            </td>
            <td>
            <asp:Label ID="Lbcn_loi" runat="server" Text="" CssClass="styles30" ForeColor=red></asp:Label>
            <asp:Label ID="Lbcn_tc" runat="server" Text="" CssClass="styles30" ForeColor="#3333ff"></asp:Label>
             </td>
        </tr>
        <tr>
        <td class="style16" style="width: 261px; height: 30px;">
            <span class="EcataProDetailTitle">Họ tên đầy đủ</span>
        </td>										            
         <td class="text" colspan="2" style="height: 30px">
            <asp:TextBox ID="txtHoten" runat="server" style="border: 1px solid #D8E5F6" Width="180px" ForeColor="#009933"></asp:TextBox>
        </td>										            
        
    </tr>
     <tr>
        <td class="style16" style="width: 261px; height: 30px;">
            <span class="EcataProDetailTitle">Ngày tháng năm sinh</span>
        </td>										            
         <td class="text" colspan="2">
            <asp:TextBox ID="Txtngaysinh" runat="server" MaxLength=11 style="border: 1px solid #D8E5F6" Width="100px" ForeColor="#009933"></asp:TextBox>mm/dd/yyyy&nbsp;
            <asp:Label ID="Loingaysinh" runat="server" Text="" CssClass="styles17" ForeColor=red></asp:Label></td>										            
        
    </tr>
    <tr>
        <td class="style16" style="width: 261px; height: 30px;">
            <span class="EcataProDetailTitle">Chứng minh nhân dân</span>
        </td>										            
         <td class="text" colspan="2">
            <asp:TextBox ID="Txtcmnd" runat="server" MaxLength=15 style="border: 1px solid #D8E5F6" Width="180px" ForeColor="#009933"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="*" ControlToValidate="Txtcmnd" EnableClientScript="true" Display="Static" EnableTheming="true" ValidationExpression="\d*" SetFocusOnError="true"></asp:RegularExpressionValidator>
        </td>									
        	            
        
    </tr>
    <tr>
        <td class="style16" style="width: 261px; height: 30px;">
            <span class="EcataProDetailTitle">Địa chỉ liên lạc</span>
        </td>										            
         <td class="text" colspan="2">
            <asp:TextBox ID="Txtdiachi" runat="server" style="border: 1px solid #D8E5F6" Width="180px" ForeColor="#009933"></asp:TextBox>
        </td>										            
        
    </tr>
    <tr>
        <td class="style16" style="width: 261px; height: 30px;">
            <span class="EcataProDetailTitle">Địa chỉ email</span>
        </td>										            
         <td class="text" colspan="2">
            <asp:TextBox ID="txtEmail" runat="server" style="border: 1px solid #D8E5F6" Width="180px" ForeColor="#009933"></asp:TextBox>
             
        </td>										            
        
    </tr>
        <tr>
            <td class="style16" style="width: 261px; height: 30px">
            </td>
            <td class="text" colspan="2">
                &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                <asp:Button ID="bt_capnhat" runat="server" OnClick="bt_capnhat_Click" Text="Cập nhật"
                    Width="84px" /></td>
        </tr>
    </table>
       
       
<%} %>
<%
    if (log == "1019")
    {
 %> 
 
 <table width=100% cellpadding=0 cellspacing=0>
    <tr>
            
            <td>
                
            </td>
            <td>
            <asp:Label ID="Lbthe_sai" runat="server" Text="" CssClass="styles30" ForeColor=red></asp:Label>
            <asp:Label ID="Lbthe_dung" runat="server" Text="" CssClass="styles30" ForeColor="#3333ff"></asp:Label>
             </td>
        </tr>
      <tr>
            <td class="style16" style="width: 33%; height: 30px;">
                <span class="EcataProDetailTitle">Tên chủ thẻ</span>
            </td>										            
             <td class="text" colspan="2">
             
                <asp:TextBox ID="txtchuthe" runat="server" style="border: 1px solid #D8E5F6" Width="180px" ForeColor="#009933"></asp:TextBox>
            </td>										            
            
        </tr>
        <tr>
            <td class="style16" style="width: 33%; height: 30px;">
                <span class="EcataProDetailTitle">Loại thẻ</span>
            </td>										            
             <td class="text" colspan="2">
                 <asp:DropDownList ID="Dropthe_tin_dung" runat="server" ForeColor="#009933">
                    
                    <asp:ListItem>......................</asp:ListItem>
                    <asp:ListItem>MasterCard</asp:ListItem>
                    <asp:ListItem>VisaCard</asp:ListItem>
                 </asp:DropDownList>
                 <asp:Label ID="chonthe" runat="server" Text="" CssClass="styles17" ForeColor=red></asp:Label>
                
            </td>										            
            
        </tr>
        <tr>
            <td class="style16" style="width: 33%; height: 30px;">
                <span class="EcataProDetailTitle">Ngày hết hạn</span>
            </td>										            
             <td class="text" colspan="2">
             
                <span class="EcataProDetailTitle">Tháng</span>
                <asp:TextBox ID="Txtthang" runat="server" MaxLength=2 Width=43px ForeColor="#009933"></asp:TextBox>
                <span class="EcataProDetailTitle">Năm</span>
                 <asp:TextBox ID="Txtnam" runat="server" MaxLength=4 Width=53px ForeColor="#009933"></asp:TextBox>
                 <asp:Label ID="sai" runat="server" Text="" CssClass="styles17" ForeColor=red></asp:Label>
                 
                 </td>										            
            
        </tr>
         <tr>
            <td class="style16" style="width: 33%; height: 30px;">
                <span class="EcataProDetailTitle">Mã thẻ</span>
            </td>										            
             <td class="text" colspan="2">
                <asp:TextBox ID="Txtma_taikhoan" runat="server" MaxLength=16 style="border: 1px solid #D8E5F6" Width="180px"></asp:TextBox>
            </td>										            
            
        </tr>
        <tr>
            <td></td>
            
            <td>
                &nbsp; &nbsp; &nbsp;
            <asp:Button ID="Bt_tk" runat="server" Text="Cập nhật" OnClick="Bt_tk_Click" />
                
            </td>
        </tr>
 </table> 
 
 <%} %> 
</asp:Content>

